home *** CD-ROM | disk | FTP | other *** search
- Path: colossus.holonet.net!russell
- From: russell@news.mdli.com (Russell Blackadar)
- Newsgroups: comp.lang.c++
- Subject: Re: beginner question - typecasting
- Date: 4 Jan 1996 23:11:29 GMT
- Organization: HoloNet National Internet Access System: 510-704-1058/modem
- Message-ID: <4chmr1$b0g@colossus.holonet.net>
- References: <4cei1r$s02@sun.cis.smu.edu> <30EBCED7.774@sto.fdata.se> <4chgtb$ldg@gold.datalytics.com>
- NNTP-Posting-Host: jubal.mdli.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Rob Stewart (stew@datalytics.com) wrote:
-
- [...Nice stuff deleted...]
- : The difference in syntax
- : allows for some changes introduced in C++'s syntax. I don't
- : recall now the eact reason for the new syntax.
-
- For one thing, the old syntax only allows one argument and so
- it's not always usable for class conversions. It would not make
- sense to have one conversion syntax for classes and another for
- built-in types.
-
- Earlier I wrote:
- ... but since C supports both, C++ must also.
-
- Oops, C does not support the new notation. Rather, C++ has to
- maintain support for the old C syntax as well as the new. Sorry
- to confuse the issue.
- --
- Russell Blackadar, russell@mdli.com
-